


export default {
    setCache(key, value) {
        localStorage.setItem(key, JSON.stringify(value));
    },
    getCache(key) {
        const value = localStorage.getItem(key);
        return JSON.parse(value);
    }
}